<html> 
<title>Main</title>
<%if(session.getAttribute("username")!=null){ %> 
<% java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat("yyyy/MM/dd HH:mm:ss");    
java.util.Date currentTime_1 = new java.util.Date();    
out.print(formatter.format(currentTime_1));    
%> 
<h3>User:<%=session.getAttribute("username") %>&nbsp;&nbsp;&nbsp;&nbsp;</h3>
<table border=3 width=500 align=center>
<caption><h1>WELCOME</h1></caption>

<tr>
<td><a href="/EBanking/Profile">Profile</a></td>
<td><a href="/EBanking/Balance">Balance</a></td>
<td><a href="/EBanking/Transaction">Transaction</a></td>
<td><a href="/EBanking/Detail">Detail</a></td>
<td><a href="/EBanking/Logout">Logout</a></td>
</tr>
</table>
<%}else{ out.print("Wong Please Login <a href=/EBanking/Login>Login</a>");
}  %>
</html>